#@token()
<input type="hidden" class="layui-input" name="entity.entityId" value="#(entity.entity_id??)"/>
<div class="layui-row layui-col-space1 task-row">
	#@colStart("上级物品",12)
	<input type="text" class="layui-input layui-disabled" name="entity.parentName" value="#(parent.entity_name??)" readonly="readonly"/>
	#@colEnd()
</div>
<div class="layui-row layui-col-space1 task-row">
	#set(req=true)
	#@colStart("物品编码",12)
	<input type="text" lay-verType='tips'lay-verify="required|" required maxlength="30" placeHolder="必填" class="layui-input #if(entity.entity_code??&&!e) layui-disabled #end" name="entity.entityCode" value="#(entity.entityId??)" #if(entity.entity_code??&&!e)readonly="readonly"#end/>
	#@colEnd()
</div>
<div class="layui-row layui-col-space1 task-row">
	#set(req=true)
	#@colStart("物品名称",12)
	<input type="text" lay-verType='tips' class="layui-input" name="entity.entityName" value="#(entity.entity_name??)" />
	#@colEnd()
</div>
<div class="layui-row layui-col-space1 task-row">
	#set(req=true)
	#@colStart("物品描述",12)
	<input type="text" lay-verType='tips' class="layui-input" name="entity.entityDesc" value="#(entity.entity_desc??)" />
	#@colEnd()
</div>
<div class="layui-row layui-col-space1 task-row">
	#set(req=true)
	#@colStart("图片",12)
	<input type="text" lay-verType='tips' class="layui-input" name="entity.image" value="#(entity.image??)" />
	#@colEnd()
</div>

#@submitButton2(3)